
<template>
    <header>
        {{text}}
        <a class="list-group-item" v-link="{ path: '/'}">Home</a>
        <a class="list-group-item" v-link="{ path: '/about'}">About</a>
        <a class="list-group-item" v-link="{ path: '/test'}">Test</a>
    </header>
</template>

<script>
    export default{
        data(){
            return{
                text:'头部'
            }
        }
    }
</script>
